package br.com.samples

public class Teste {
	public static void main(def args){
		
				def list = ["Lars", "Ben", "Jack"]
		
				// using a variable assignment
		
				list.each{firstName->
		
				  println firstName
		
				}
		
				// using the it variable
		
				list.each{println it}
		
			}
		
}
